package com.designpatterns.visitorpattern;

import com.designpatterns.visitorpattern.impl.Computer;
import com.designpatterns.visitorpattern.impl.Keyboard;
import com.designpatterns.visitorpattern.impl.Monitor;
import com.designpatterns.visitorpattern.impl.Mouse;

// 电脑部件访问者
public interface ComputerPartVisitor
{
	// 访问电脑
	public void visit(Computer computer);

	// 访问鼠标
	public void visit(Mouse mouse);

	// 访问键盘
	public void visit(Keyboard keyboard);

	// 访问显示器
	public void visit(Monitor monitor);
}
